const info = {
  state: {
    gender: 1,
    birth: new Date("2000-01-01 00:00:00"),
  },
  mutations: {
    SET_BIRTH(state, data) {
      state.birth = data;
    },
    SET_GENDER(state, data) {
      state.gender = data;
    },
  },
  actions: {
    setBirth({ commit }, data) {
      commit("SET_BIRTH", data);
    },
    setGender({ commit }, data) {
      commit("SET_GENDER", data);
    },
  },
};

export default info;
